package com.senney.spring_3x.enable_registrar;


import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.Configuration;

@Configuration
@EnableService
public class App03 {
    public static void main(String[] args) {
        ApplicationContext context = new AnnotationConfigApplicationContext(App03.class);
        System.out.println(context.getBean("registrar_demoService03"));
    }
}
